var mongoose = require("mongoose");

//任务登陆表(task)

var taskSchema = new mongoose.Schema({
  taskname: { type: String, required: true }, //任务名
  frequency: { type: Number, required: true }, //次数
  integral: { type: String, required: true }, //积分
  index: { type: Number, required: true } //索引
});

module.exports = mongoose.model("task", taskSchema);
